/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.ipti.br.tag.bo;

import org.ipti.br.tag.dao.AdditionalInfoTypeFacade;
import org.ipti.br.tag.entity.AdditionalInfoType;
import org.ipti.br.tag.entity.Personage;
import java.io.Serializable;
import java.util.List;
import javax.inject.Inject;
import javax.ejb.Stateless;

/**
 *
 * @author root
 */
@Stateless
public class AdditionalInfoTypeBO implements Serializable {

    @Inject
    private AdditionalInfoTypeFacade additionalInfoTypeDAO;

    public AdditionalInfoTypeFacade getAdditionalInfoTypeDAO() {
        return additionalInfoTypeDAO;
    }

    public void create(AdditionalInfoType additionalInfoType) {
        getAdditionalInfoTypeDAO().create(additionalInfoType);
    }

    public void edit(AdditionalInfoType additionalInfoType) {
        getAdditionalInfoTypeDAO().edit(additionalInfoType);
    }

    public void remove(AdditionalInfoType additionalInfoType) {
        getAdditionalInfoTypeDAO().remove(additionalInfoType);
    }

    public AdditionalInfoType find(Object id) {
        return getAdditionalInfoTypeDAO().find(id);
    }

    public List<AdditionalInfoType> findAll() {
        return getAdditionalInfoTypeDAO().findAll();
    }

    public void editForSynchronization(AdditionalInfoType additionalInfoType) {
        getAdditionalInfoTypeDAO().editForSynchronization(additionalInfoType);
    }

    public List<AdditionalInfoType> findAllOrder() {
        return getAdditionalInfoTypeDAO().findAllOrder();
    }
    
    public List<AdditionalInfoType> findAddInfoTypesPerPersonage(Personage personage) {
        return getAdditionalInfoTypeDAO().findAddInfoTypesPerPersonage(personage);
    }
}
